/**
 * Created with IntelliJ IDEA.
 *
 * @author: cxs
 * @date: 2023/6/27
 * @time: 19:47
 * @className：CustomerVo
 * @description： 封装客户视图对象CustomerVo、主要用于分页查询
 */
package com.bailan.bus.vo;

import com.bailan.bus.domain.Customer;

import java.util.Date;

public class CustomerVo extends Customer {
    private  Integer page;
    private  Integer limit;
    private String[] ids;

    public CustomerVo(String identity, String custname, Integer sex, String address, String phone, String career, Date createtime, Integer page, Integer limit, String[] ids) {
        super(identity, custname, sex, address, phone, career, createtime);
        this.page = page;
        this.limit = limit;
        this.ids = ids;
    }

    public CustomerVo(Integer page, Integer limit, String[] ids) {
        this.page = page;
        this.limit = limit;
        this.ids = ids;
    }

    public CustomerVo() {
    }

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public String[] getIds() {
        return ids;
    }

    public void setIds(String[] ids) {
        this.ids = ids;
    }
}
